
import sys
import os

d = { '076 62': 'Parchovany'
    , '101 00': 'Praha 1'
    , '111 11': 'Olomouc'}

data = open('kxy.tmp','r').read()
print data

#if len(sys.argv) <> 1: 
if data == '': 
    pass
else:
    if d.has_key(data):
        of = open('kxy.tmp','w')
        of.write(d[data])
        of.close()
    else:
        pass

os.system('pause')

